package concesionario.source;

import java.io.Serializable;

public class Persona implements Serializable{
    
    
 private String nombre;
 private String dni;
 private String domicilio;
 private String telefono;
 
 public Persona(String nombreC,String dniC,String domicilioC,String tlf){
 
     this.nombre=nombreC;
     this.dni=dniC;
     this.domicilio=domicilioC;
     this.telefono=tlf;

 }
 public Persona(){
 
     this.nombre="";
     this.dni="";
     this.domicilio="";
     this.telefono="";
 }
 
 public String getNombre (){
     return this.nombre;
 }

 public String getDNI (){
     return this.dni;
 }
  
 public String getDomicilio (){
     return this.domicilio;
 }
  
 public String getTelefono (){
     return this.telefono;
 } 
 
 public void setNombre(String Nom){
     this.nombre=Nom;
 }
 
 public void setDNI(String d){
     this.dni=d;
 }
 
 public void setDomicilio(String Dom){
     this.domicilio=Dom;
 }
 
 public void setTelefono(String Tlf){
     this.telefono=Tlf;
 }
}

